/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.metasketch.model.loader;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author guilhermegrg
 */
public class GraphRelationship {

    String id;
    String type;
    String sourceId;
    String targetId;
    GraphNode source;
    GraphNode target;
    Map<String, String> properties = new HashMap<String, String>();




    public GraphRelationship(String id, String type) {
        this.id = id;
        this.type = type;

    }

    public String getId() {
        return id;
    }

    public String getType() {
        return type;
    }

    


    public Map<String, String> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public GraphNode getSource() {
        return source;
    }

    public void setSource(GraphNode source) {
        this.source = source;
    }

    public GraphNode getTarget() {
        return target;
    }

    public void setTarget(GraphNode target) {
        this.target = target;
    }
}
